#ifndef GIFEXTENSION_H
#define GIFEXTENSION_H

#include "gifblock.h"
#include "winggif.h"
#include <QIODevice>
#include <QObject>

namespace WingGif {

class WINGEXPORT GifExtension : public QObject {
  Q_OBJECT
public:
  GifExtension(QObject *parent = nullptr);
  virtual bool read(QIODevice *stream,
                    QList<GifExtension *> controlExtensions) = 0;
  virtual GifBlockKind kind() = 0;
};

} // namespace WingGif

#endif // GIFEXTENSION_H
